package com.fm.base.database.domain;

import java.util.ArrayList;
import java.util.List;

/**
 * @author leo.li
 */
public class DBList extends ArrayList<Object> implements List<Object> {
    public DBList append(Object object) {
        add(object);
        return this;
    }

    @SuppressWarnings("unchecked")
    public <T> List<T> asList(Class<T> clazz) {
        return (List<T>) this;
    }
}